package com.test.demo.utils;

import com.test.demo.dean.User;

import java.util.List;

public class Message {
    private Integer status;
    private  String message;
    private  Object data;
    private  Long timestamp;

    public Message(Integer status, String message, Object data, Long timestamp) {
        this.status = status;
        this.message = message;
        this.data = data;
        this.timestamp = timestamp;
    }

    public Integer getStatus(int i) {

        return status;
    }

    public void setStatus(Integer status) {

        this.status = status;
    }

    public String getMessage(String success) {

        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData(List<User> list) {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
